]>
Commit | Line | Data |
---|---|---|
8f6d1a2c | 1 | # |
2 | # Conditional build: | |
c3844957 | 3 | %bcond_without apidocs # disable gtk-doc |
1cfc56f6 | 4 | %bcond_without cups # disable CUPS support |
8d18157f | 5 | %bcond_without papi # disable PAPI support |
86d027d1 | 6 | %bcond_without static_libs # don't build static library |
5a2a4faf | 7 | # |
ee07a9c1 PZ |
8 | Summary: The GIMP Toolkit |
9 | Summary(cs.UTF-8): Sada nástrojů pro GIMP | |
10 | Summary(de.UTF-8): Der GIMP-Toolkit | |
11 | Summary(fi.UTF-8): GIMP-työkalukokoelma | |
12 | Summary(fr.UTF-8): Le toolkit de GIMP | |
13 | Summary(it.UTF-8): Il toolkit per GIMP | |
14 | Summary(pl.UTF-8): GIMP Toolkit | |
15 | Summary(tr.UTF-8): GIMP ToolKit arayüz kitaplığı | |
94be343e | 16 | Name: gtk+2 |
999541fb JB |
17 | Version: 2.24.15 |
18 | Release: 1 | |
f9ca522f | 19 | Epoch: 2 |
099be6e8 | 20 | License: LGPL v2+ |
f4d0ca3c | 21 | Group: X11/Libraries |
eab354d3 | 22 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-%{version}.tar.xz |
999541fb | 23 | # Source0-md5: 68f034fb4f68086790d7488cf00e71c8 |
7ec1e575 | 24 | Patch0: %{name}-arch_confdir.patch |
64ed4784 | 25 | Patch1: gobject-introspection.patch |
8d18157f | 26 | Patch2: %{name}-papi.patch |
f4d0ca3c | 27 | URL: http://www.gtk.org/ |
d4235514 | 28 | BuildRequires: atk-devel >= 1:1.30.0-3 |
60eadd43 | 29 | BuildRequires: autoconf >= 2.62 |
3d6d603f | 30 | BuildRequires: automake >= 1:1.7 |
ee07a9c1 | 31 | BuildRequires: cairo-devel >= 1.6.0 |
8d18157f JB |
32 | %if %{with cups} || %{with papi} |
33 | BuildRequires: cups-devel | |
34 | %endif | |
f9ca522f | 35 | BuildRequires: docbook-dtd412-xml |
36 | BuildRequires: docbook-style-xsl | |
64ed4784 | 37 | BuildRequires: gdk-pixbuf2-devel >= 2.22.0 |
f4d0ca3c | 38 | BuildRequires: gettext-devel |
5a2a4faf | 39 | BuildRequires: glib2-devel >= 1:2.27.3 |
a52f60c0 | 40 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
bf80b080 | 41 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.17} |
60eadd43 | 42 | BuildRequires: gtk-doc-automake >= 1.11 |
060affee | 43 | BuildRequires: libtool >= 1:1.4.2-9 |
fc5b9a1b | 44 | BuildRequires: libxml2-progs >= 1:2.6.31 |
71261649 | 45 | BuildRequires: libxslt-progs >= 1.1.20 |
64ed4784 | 46 | BuildRequires: pango-devel >= 1:1.28.1-4 |
8d18157f | 47 | %{?with_papi:BuildRequires: papi-devel} |
f9ca522f | 48 | BuildRequires: perl-base |
5a2a4faf | 49 | BuildRequires: perl-devel |
01c9c76b | 50 | BuildRequires: pkgconfig |
e3fb4f8c | 51 | BuildRequires: rpm-pythonprov |
ed26125a | 52 | BuildRequires: rpmbuild(macros) >= 1.311 |
e0f6f227 | 53 | BuildRequires: sed >= 4.0 |
5a2a4faf | 54 | BuildRequires: sqlite3-devel |
eab354d3 | 55 | BuildRequires: tar >= 1:1.22 |
88d12146 | 56 | BuildRequires: xorg-lib-libX11-devel |
d27feaf5 | 57 | BuildRequires: xorg-lib-libXcomposite-devel |
5939f636 | 58 | BuildRequires: xorg-lib-libXcursor-devel |
d27feaf5 | 59 | BuildRequires: xorg-lib-libXdamage-devel |
88d12146 | 60 | BuildRequires: xorg-lib-libXext-devel |
d27feaf5 | 61 | BuildRequires: xorg-lib-libXfixes-devel |
60eadd43 | 62 | BuildRequires: xorg-lib-libXft-devel |
2071d7b2 | 63 | BuildRequires: xorg-lib-libXi-devel |
88d12146 | 64 | BuildRequires: xorg-lib-libXinerama-devel |
d27feaf5 | 65 | BuildRequires: xorg-lib-libXrandr-devel >= 1.3.0 |
88d12146 | 66 | BuildRequires: xorg-lib-libXrender-devel |
eab354d3 | 67 | BuildRequires: xz |
60eadd43 | 68 | Requires: atk >= 1:1.30.0 |
ee07a9c1 | 69 | Requires: cairo >= 1.6.0 |
64ed4784 | 70 | Requires: gdk-pixbuf2 >= 2.22.0 |
5a2a4faf | 71 | Requires: glib2 >= 1:2.27.3 |
60eadd43 | 72 | Requires: pango >= 1:1.26.0 |
d27feaf5 | 73 | Requires: xorg-lib-libXrandr >= 1.3.0 |
3600fc7c JB |
74 | %if %{with cups} |
75 | # cups is used by default if gtk+ is built with cups | |
76 | Suggests: %{name}-cups = %{epoch}:%{version}-%{release} | |
77 | %endif | |
ee07a9c1 | 78 | Provides: gail = 1.23.0 |
59feb20d | 79 | Provides: gtk2 = %{version} |
ee07a9c1 | 80 | Obsoletes: gail |
9d638349 | 81 | Obsoletes: gtk2 |
80d4d62e | 82 | # sr@Latn vs. sr@latin |
83 | Conflicts: glibc-misc < 6:2.7 | |
7c655924 | 84 | Conflicts: gtk2-engines < 1:2.2.0-6 |
e1c87a15 JB |
85 | # autopanog.exe crashes with gtk+2 2.8.x and libgdiplus 1.1.8 |
86 | Conflicts: libgdiplus < 1.1.9 | |
db34468d | 87 | Requires(post): gtk-update-icon-cache |
812a098a | 88 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f4d0ca3c | 89 | |
8f2bfc77 | 90 | %define abivers 2.10.0 |
91 | ||
9b929cc3 ER |
92 | %if "%{_lib}" != "lib" |
93 | %define libext %(lib="%{_lib}"; echo ${lib#lib}) | |
94 | %define _sysconfdir /etc/gtk%{libext}-2.0 | |
95 | %define pqext -%{libext} | |
96 | %else | |
97 | %define _sysconfdir /etc/gtk-2.0 | |
98 | %define pqext %{nil} | |
99 | %endif | |
100 | ||
f4d0ca3c | 101 | %description |
ee07a9c1 | 102 | GTK+, which stands for the GIMP ToolKit, is a library for creating |
f4d0ca3c | 103 | graphical user interfaces for the X Window System. It is designed to |
7f31ceb9 | 104 | be small, efficient, and flexible. GTK+ is written in C with a very |
74e95a76 | 105 | object-oriented approach. GDK (part of GTK+) is a drawing toolkit |
f4d0ca3c | 106 | which provides a thin layer over Xlib to help automate things like |
74e95a76 | 107 | dealing with different color depths, and GTK is a widget set for |
f4d0ca3c AF |
108 | creating user interfaces. |
109 | ||
869b0b0f JR |
110 | %description -l cs.UTF-8 |
111 | Knihovny X původně psané pro GIMP, které nyní používá také řada jiných | |
112 | programů. | |
f4d0ca3c | 113 | |
869b0b0f | 114 | %description -l da.UTF-8 |
f4d0ca3c AF |
115 | X biblioteker, oprindeligt udviklet til GIMP, men anvendes nu af flere |
116 | forskellige programmer. | |
117 | ||
869b0b0f JR |
118 | %description -l de.UTF-8 |
119 | Die X-Libraries, die ursprünglich für GIMP geschrieben wurden und | |
120 | mittlerweile für eine ganze Reihe anderer Programme benutzt werden. | |
f4d0ca3c | 121 | |
869b0b0f | 122 | %description -l fr.UTF-8 |
f4d0ca3c | 123 | X-kirjastot, jotka alunperin kirjoitettiin GIMP:lle, mutta joita |
869b0b0f | 124 | käytetään nyt myös useissa muissakin ohjelmissa. |
f4d0ca3c | 125 | |
869b0b0f | 126 | %description -l it.UTF-8 |
f4d0ca3c AF |
127 | Libreria X scritta per GIMP. Viene usata da diversi programmi. |
128 | ||
869b0b0f | 129 | %description -l pl.UTF-8 |
ee07a9c1 | 130 | GTK+, która to biblioteka stała się podstawą programu GIMP, zawiera |
869b0b0f JR |
131 | funkcje do tworzenia graficznego interfejsu użytkownika pod X Window. |
132 | Była tworzona z założeniem żeby była mała, efektywna i wygodna. GTK+ | |
133 | jest napisane w C z podejściem zorientowanym bardzo obiektowo. GDK | |
134 | (część GTK+) jest warstwą pośrednią pomiędzy Xlib a właściwym GTK | |
135 | zapewniającą pracę niezależnie od głębi koloru (ilości bitów na | |
136 | piksel). GTK (druga część GTK+) jest natomiast już zbiorem różnego | |
137 | rodzaju kontrolek służących do tworzenia interfejsu użytkownika. | |
f4d0ca3c | 138 | |
869b0b0f JR |
139 | %description -l tr.UTF-8 |
140 | Başlangıçta GIMP için yazılmış X kitaplıkları. Şu anda başka | |
141 | programlarca da kullanılmaktadır. | |
f4d0ca3c AF |
142 | |
143 | %package devel | |
7f31ceb9 | 144 | Summary: GTK+ header files and development documentation |
2602e0ec ER |
145 | Summary(cs.UTF-8): Sada nástrojů GIMP a kreslící kit GIMP |
146 | Summary(da.UTF-8): GIMP Toolkit og GIMP Tegnings-værktøj | |
147 | Summary(de.UTF-8): GIMP Toolkit und GIMP Drawing Kit | |
148 | Summary(fi.UTF-8): Gimp-työkalukokoelma ja Gimp-piirtotyökalut | |
149 | Summary(fr.UTF-8): Toolkit de GIMP (GTK) et Kit de dessin de GIMP (GDK) | |
150 | Summary(it.UTF-8): GIMP Toolkit and GIMP Drawing Kit | |
151 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do GTK+ | |
152 | Summary(tr.UTF-8): GIMP araç takımı ve çizim takımı | |
f4d0ca3c | 153 | Group: X11/Development/Libraries |
f9ca522f | 154 | Requires: %{name} = %{epoch}:%{version}-%{release} |
60eadd43 | 155 | Requires: atk-devel >= 1:1.30.0 |
39f5b9cd | 156 | Requires: cairo-devel >= 1.6.0 |
64ed4784 | 157 | Requires: gdk-pixbuf2-devel >= 2.22.0 |
5a2a4faf | 158 | Requires: glib2-devel >= 1:2.27.3 |
60eadd43 | 159 | Requires: pango-devel >= 1:1.26.0 |
bb78e1c8 | 160 | Requires: shared-mime-info |
88d12146 | 161 | Requires: xorg-lib-libX11-devel |
d27feaf5 | 162 | Requires: xorg-lib-libXcomposite-devel |
5939f636 | 163 | Requires: xorg-lib-libXcursor-devel |
d27feaf5 | 164 | Requires: xorg-lib-libXdamage-devel |
88d12146 | 165 | Requires: xorg-lib-libXext-devel |
d27feaf5 | 166 | Requires: xorg-lib-libXfixes-devel |
88d12146 | 167 | Requires: xorg-lib-libXft-devel |
dee40e6b | 168 | Requires: xorg-lib-libXi-devel |
88d12146 | 169 | Requires: xorg-lib-libXinerama-devel |
d27feaf5 | 170 | Requires: xorg-lib-libXrandr-devel >= 1.3.0 |
88d12146 | 171 | Requires: xorg-lib-libXrender-devel |
ee07a9c1 PZ |
172 | Provides: gail-devel = 1.23.0 |
173 | Obsoletes: gail-devel | |
9d638349 | 174 | Obsoletes: gtk2-devel |
f4d0ca3c AF |
175 | |
176 | %description devel | |
7f31ceb9 | 177 | Header files and development documentation for the GTK+ libraries. |
f4d0ca3c | 178 | |
869b0b0f JR |
179 | %description devel -l pl.UTF-8 |
180 | Pliki nagłówkowe i dokumentacja do bibliotek GTK+. | |
f4d0ca3c AF |
181 | |
182 | %package static | |
7f31ceb9 | 183 | Summary: GTK+ static libraries |
2602e0ec | 184 | Summary(pl.UTF-8): Biblioteki statyczne GTK+ |
f4d0ca3c | 185 | Group: X11/Development/Libraries |
f9ca522f | 186 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
ee07a9c1 PZ |
187 | Provides: gail-static = 1.23.0 |
188 | Obsoletes: gail-static | |
f4d0ca3c AF |
189 | |
190 | %description static | |
7f31ceb9 | 191 | GTK+ static libraries. |
f4d0ca3c | 192 | |
869b0b0f | 193 | %description static -l pl.UTF-8 |
7f31ceb9 | 194 | Biblioteki statyczne GTK+ |
f4d0ca3c | 195 | |
d58327d0 | 196 | %package apidocs |
197 | Summary: GTK+ API documentation | |
2602e0ec | 198 | Summary(pl.UTF-8): Dokumentacja API GTK+ |
d58327d0 | 199 | Group: Documentation |
200 | Requires: gtk-doc-common | |
071b3dfd | 201 | Provides: gail-apidocs = 1.23.0 |
ee07a9c1 | 202 | Obsoletes: gail-apidocs |
d58327d0 | 203 | |
204 | %description apidocs | |
205 | GTK+ API documentation. | |
206 | ||
869b0b0f | 207 | %description apidocs -l pl.UTF-8 |
d58327d0 | 208 | Dokumentacja API GTK+. |
209 | ||
210 | %package examples | |
f384505a | 211 | Summary: GTK+ - example programs |
2602e0ec | 212 | Summary(pl.UTF-8): GTK+ - programy przykładowe |
f384505a | 213 | Group: X11/Development/Libraries |
43146b6b | 214 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
d58327d0 | 215 | |
216 | %description examples | |
217 | GTK+ - example programs. | |
218 | ||
869b0b0f JR |
219 | %description examples -l pl.UTF-8 |
220 | GTK+ - przykładowe programy. | |
d58327d0 | 221 | |
3600fc7c JB |
222 | %package cups |
223 | Summary: CUPS printing module for GTK+ | |
224 | Summary(pl.UTF-8): Moduł GTK+ do drukowania przez CUPS | |
225 | Group: X11/Libraries | |
226 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
227 | ||
228 | %description cups | |
229 | CUPS printing module for GTK+. | |
230 | ||
231 | %description cups -l pl.UTF-8 | |
232 | Moduł GTK+ do drukowania przez CUPS. | |
233 | ||
8d18157f JB |
234 | %package papi |
235 | Summary: PAPI printing module for GTK+ | |
236 | Summary(pl.UTF-8): Moduł GTK+ do drukowania przez PAPI | |
237 | Group: X11/Libraries | |
882884ad | 238 | Requires: %{name} = %{epoch}:%{version}-%{release} |
8d18157f JB |
239 | Requires: papi |
240 | ||
241 | %description papi | |
242 | PAPI printing module for GTK+. | |
243 | ||
244 | %description papi -l pl.UTF-8 | |
245 | Moduł GTK+ do drukowania przez PAPI. | |
246 | ||
f4d0ca3c | 247 | %prep |
42033f63 | 248 | %setup -q -n gtk+-%{version} |
7ec1e575 | 249 | %patch0 -p1 |
64ed4784 | 250 | %patch1 -p1 |
8d18157f | 251 | %patch2 -p1 |
f4d0ca3c | 252 | |
e0f6f227 JB |
253 | %{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' gtk/gtk-builder-convert |
254 | ||
f4d0ca3c | 255 | %build |
d17e131c | 256 | %{?with_apidocs:%{__gtkdocize}} |
31ee3695 | 257 | %{__libtoolize} |
2d64e5ba | 258 | %{__glib_gettextize} |
6966c6aa | 259 | %{__aclocal} |
7ca534e7 | 260 | %{__autoheader} |
f9ca522f | 261 | %{__autoconf} |
262 | %{__automake} | |
8d18157f | 263 | CPPFLAGS="%{rpmcppflags}%{?with_papi: -I/usr/include/papi}" |
f4d0ca3c | 264 | %configure \ |
8d18157f | 265 | %{!?with_cups:--disable-cups} \ |
2d64e5ba | 266 | %{?debug:--enable-debug=yes} \ |
14e63668 | 267 | --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \ |
2d64e5ba | 268 | --enable-man \ |
8d18157f | 269 | %{!?with_papi:--disable-papi} \ |
f4d0ca3c | 270 | --enable-shm \ |
0d288597 | 271 | --%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \ |
39470fc4 | 272 | --with-gdktarget=x11 \ |
dfe832cf | 273 | --with-html-dir=%{_gtkdocdir} \ |
d58327d0 | 274 | --with-xinput=yes |
94be343e | 275 | %{__make} |
f4d0ca3c AF |
276 | |
277 | %install | |
278 | rm -rf $RPM_BUILD_ROOT | |
9b7df8a5 | 279 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \ |
8f2bfc77 | 280 | $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{abivers}/filesystems |
f4d0ca3c AF |
281 | |
282 | %{__make} install \ | |
283 | DESTDIR=$RPM_BUILD_ROOT \ | |
94be343e | 284 | m4datadir=%{_aclocaldir} \ |
060affee | 285 | pkgconfigdir=%{_pkgconfigdir} |
f4d0ca3c | 286 | |
9b929cc3 | 287 | touch $RPM_BUILD_ROOT%{_sysconfdir}/gtk.immodules |
33137503 | 288 | |
96ccaff9 | 289 | cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
290 | ||
c6103d6d | 291 | # shut up check-files (static modules and *.la for modules) |
d50d9689 | 292 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.{a,la} |
293 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{abivers}/*/*.{a,la} | |
8c1f393e AF |
294 | # remove libtool files |
295 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/*.la | |
c6103d6d | 296 | |
d69b509e JB |
297 | # built in gtk+3.spec |
298 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/gtk-update-icon-cache \ | |
299 | $RPM_BUILD_ROOT%{_mandir}/man1/gtk-update-icon-cache.1 | |
db34468d | 300 | |
9b929cc3 ER |
301 | %if "%{_lib}" != "lib" |
302 | # We need to have 32-bit and 64-bit binaries as they have hardcoded LIBDIR. | |
303 | # (needed when multilib is used) | |
9b929cc3 ER |
304 | mv $RPM_BUILD_ROOT%{_bindir}/gtk-query-immodules-2.0{,%{pqext}} |
305 | %endif | |
306 | ||
7f31ceb9 | 307 | # for various GTK+2 modules |
9b7df8a5 | 308 | install -d $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules |
55b30b18 | 309 | |
eb94545a | 310 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} |
d99f06d3 | 311 | # unsupported by glibc |
5fb37be8 | 312 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{az_IR,io} |
7897cf83 | 313 | |
f9ca522f | 314 | %find_lang %{name} --all-name |
f4d0ca3c | 315 | |
dfe832cf ER |
316 | %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/{gdk,gdk-pixbuf,gtk}} |
317 | ||
f4d0ca3c AF |
318 | %clean |
319 | rm -rf $RPM_BUILD_ROOT | |
320 | ||
737cc900 | 321 | %post |
291bd4b5 | 322 | /sbin/ldconfig |
737cc900 | 323 | umask 022 |
9b929cc3 | 324 | %{_bindir}/gtk-query-immodules-2.0%{pqext} > %{_sysconfdir}/gtk.immodules |
f9ca522f | 325 | exit 0 |
737cc900 | 326 | |
924f8b2f | 327 | %postun |
291bd4b5 | 328 | /sbin/ldconfig |
0829e057 | 329 | if [ "$1" != "0" ]; then |
924f8b2f | 330 | umask 022 |
214ffd07 ER |
331 | # we need to check for dir existence for multilib installs as the $1 is 1 |
332 | # if we remove the other arch pkg will be still present. | |
333 | # i.e we have installed gtk+2-2.16.5-1.x86_64 and gtk+2-2.16.5-1.i686, and remove gtk+2-2.16.5-1.i686 | |
334 | if [ -d %{_sysconfdir} ]; then | |
214ffd07 ER |
335 | %{_bindir}/gtk-query-immodules-2.0%{pqext} > %{_sysconfdir}/gtk.immodules |
336 | fi | |
924f8b2f | 337 | fi |
f7b61fed JB |
338 | exit 0 |
339 | ||
340 | %triggerpostun -- gtk+2 < 2:2.4.0 | |
341 | umask 022 | |
9b929cc3 | 342 | %{_bindir}/gtk-query-immodules-2.0%{pqext} > %{_sysconfdir}/gtk.immodules |
f7b61fed | 343 | exit 0 |
f4d0ca3c | 344 | |
ed26125a ER |
345 | %triggerin -- hicolor-icon-theme |
346 | if [ "$1" = "1" ] && [ "$2" = "1" ]; then | |
347 | %update_icon_cache hicolor | |
348 | fi | |
349 | ||
f9ca522f | 350 | %files -f %{name}.lang |
f4d0ca3c | 351 | %defattr(644,root,root,755) |
f9ca522f | 352 | %doc AUTHORS NEWS README |
555a58f5 | 353 | %attr(755,root,root) %{_bindir}/gtk-query-immodules-2.0%{pqext} |
8cd7c578 | 354 | |
ee07a9c1 PZ |
355 | %attr(755,root,root) %{_libdir}/libgailutil.so.*.*.* |
356 | %attr(755,root,root) %ghost %{_libdir}/libgailutil.so.18 | |
6489e85c JB |
357 | %attr(755,root,root) %{_libdir}/libgdk-x11-2.0.so.*.*.* |
358 | %attr(755,root,root) %ghost %{_libdir}/libgdk-x11-2.0.so.0 | |
6489e85c JB |
359 | %attr(755,root,root) %{_libdir}/libgtk-x11-2.0.so.*.*.* |
360 | %attr(755,root,root) %ghost %{_libdir}/libgtk-x11-2.0.so.0 | |
4a14682b | 361 | %dir %{_libdir}/gtk-2.0 |
362 | %dir %{_libdir}/gtk-2.0/modules | |
2019e317 JB |
363 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libferret.so |
364 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgail.so | |
4a14682b | 365 | %dir %{_libdir}/gtk-2.0/%{abivers} |
366 | %dir %{_libdir}/gtk-2.0/%{abivers}/engines | |
2019e317 | 367 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/engines/libpixmap.so |
4a14682b | 368 | %dir %{_libdir}/gtk-2.0/%{abivers}/filesystems |
369 | %dir %{_libdir}/gtk-2.0/%{abivers}/immodules | |
6489e85c | 370 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/immodules/im-*.so |
2019e317 | 371 | %dir %{_libdir}/gtk-2.0/%{abivers}/printbackends |
3600fc7c JB |
372 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-file.so |
373 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-lpr.so | |
2019e317 | 374 | %{_libdir}/girepository-1.0/Gdk-2.0.typelib |
64ed4784 | 375 | %{_libdir}/girepository-1.0/GdkX11-2.0.typelib |
2019e317 | 376 | %{_libdir}/girepository-1.0/Gtk-2.0.typelib |
9b7df8a5 | 377 | |
9b929cc3 ER |
378 | %dir %{_sysconfdir} |
379 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/im-multipress.conf | |
9b929cc3 | 380 | %ghost %{_sysconfdir}/gtk.immodules |
737cc900 AF |
381 | %dir %{_datadir}/themes/Default/gtk-* |
382 | %{_datadir}/themes/Default/gtk-*/gtkrc | |
bae602ac | 383 | %dir %{_datadir}/themes/Emacs |
737cc900 AF |
384 | %dir %{_datadir}/themes/Emacs/gtk-* |
385 | %{_datadir}/themes/Emacs/gtk-*/gtkrc | |
59dac2f1 AM |
386 | %dir %{_datadir}/themes/Raleigh |
387 | %dir %{_datadir}/themes/Raleigh/gtk-* | |
388 | %{_datadir}/themes/Raleigh/gtk-*/gtkrc | |
6489e85c | 389 | %{_mandir}/man1/gtk-query-immodules-2.0.1* |
f4d0ca3c AF |
390 | |
391 | %files devel | |
392 | %defattr(644,root,root,755) | |
96ccaff9 | 393 | %doc ChangeLog |
24738a6b | 394 | %attr(755,root,root) %{_bindir}/gtk-builder-convert |
ee07a9c1 | 395 | %attr(755,root,root) %{_libdir}/libgailutil.so |
6489e85c | 396 | %attr(755,root,root) %{_libdir}/libgdk-x11-2.0.so |
6489e85c | 397 | %attr(755,root,root) %{_libdir}/libgtk-x11-2.0.so |
ee07a9c1 | 398 | %{_includedir}/gail-1.0 |
6489e85c JB |
399 | %{_includedir}/gtk-2.0 |
400 | %{_includedir}/gtk-unix-print-2.0 | |
401 | %{_aclocaldir}/gtk-2.0.m4 | |
4a14682b | 402 | %{_libdir}/gtk-2.0/include |
ee07a9c1 | 403 | %{_pkgconfigdir}/gail.pc |
6489e85c | 404 | %{_pkgconfigdir}/gdk-2.0.pc |
6489e85c JB |
405 | %{_pkgconfigdir}/gdk-x11-2.0.pc |
406 | %{_pkgconfigdir}/gtk+-2.0.pc | |
407 | %{_pkgconfigdir}/gtk+-unix-print-2.0.pc | |
408 | %{_pkgconfigdir}/gtk+-x11-2.0.pc | |
2019e317 | 409 | %{_datadir}/gir-1.0/Gdk-2.0.gir |
64ed4784 | 410 | %{_datadir}/gir-1.0/GdkX11-2.0.gir |
2019e317 | 411 | %{_datadir}/gir-1.0/Gtk-2.0.gir |
6489e85c | 412 | %{_mandir}/man1/gtk-builder-convert.1* |
f4d0ca3c | 413 | |
55f48af8 | 414 | %if %{with static_libs} |
f4d0ca3c AF |
415 | %files static |
416 | %defattr(644,root,root,755) | |
ee07a9c1 | 417 | %{_libdir}/libgailutil.a |
6489e85c | 418 | %{_libdir}/libgdk-x11-2.0.a |
6489e85c | 419 | %{_libdir}/libgtk-x11-2.0.a |
55f48af8 | 420 | %endif |
d58327d0 | 421 | |
422 | %if %{with apidocs} | |
423 | %files apidocs | |
424 | %defattr(644,root,root,755) | |
ee07a9c1 | 425 | %{_gtkdocdir}/gail-libgail-util |
e433e813 JB |
426 | %{_gtkdocdir}/gdk2 |
427 | %{_gtkdocdir}/gtk2 | |
d58327d0 | 428 | %endif |
429 | ||
430 | %files examples | |
431 | %defattr(644,root,root,755) | |
8cd7c578 JR |
432 | %attr(755,root,root) %{_bindir}/gtk-demo |
433 | %{_datadir}/gtk-2.0 | |
d58327d0 | 434 | %{_examplesdir}/%{name}-%{version} |
3600fc7c JB |
435 | |
436 | %if %{with cups} | |
437 | %files cups | |
438 | %defattr(644,root,root,755) | |
439 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-cups.so | |
440 | %endif | |
8d18157f JB |
441 | |
442 | %if %{with papi} | |
443 | %files papi | |
444 | %defattr(644,root,root,755) | |
445 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-papi.so | |
446 | %endif |